package com.bitejiuyeke.forum.Controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*
* 返回的是数据，不是路径
* */
@RestController
// 定义以及映射路径
@RequestMapping("/test")
public class TestController {


    @RequestMapping("hello")
    public String hello()
    {
        return "hello spring boot";
    }



}
